﻿using System;
using System.ComponentModel;
using DevExpress.Xpo;
using DevExpress.Data.Filtering;
using DevExpress.ExpressApp;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Persistent.Validation;
namespace Top.Module.Domain
{
    [DefaultClassOptions]
    public class TopWlbItemInventoryLog : BaseObject
    {
        //begin
        public TopWlbItemInventoryLog(Session session) : base(session)
        {}
        public override void AfterConstruction(){base.AfterConstruction();}

        private string _Id;
        [Size(SizeAttribute.Unlimited)]
        public string Id
        {
            get
            {
                return _Id;
            }
            set
            {
                SetPropertyValue("Id", ref _Id, value);
            }
        }
        private string _UserId;
        [Size(SizeAttribute.Unlimited)]
        public string UserId
        {
            get
            {
                return _UserId;
            }
            set
            {
                SetPropertyValue("UserId", ref _UserId, value);
            }
        }
        private string _OpType;
        [Size(SizeAttribute.Unlimited)]
        public string OpType
        {
            get
            {
                return _OpType;
            }
            set
            {
                SetPropertyValue("OpType", ref _OpType, value);
            }
        }
        private string _OpUserId;
        [Size(SizeAttribute.Unlimited)]
        public string OpUserId
        {
            get
            {
                return _OpUserId;
            }
            set
            {
                SetPropertyValue("OpUserId", ref _OpUserId, value);
            }
        }
        private string _ItemId;
        [Size(SizeAttribute.Unlimited)]
        public string ItemId
        {
            get
            {
                return _ItemId;
            }
            set
            {
                SetPropertyValue("ItemId", ref _ItemId, value);
            }
        }
        private string _BatchCode;
        [Size(SizeAttribute.Unlimited)]
        public string BatchCode
        {
            get
            {
                return _BatchCode;
            }
            set
            {
                SetPropertyValue("BatchCode", ref _BatchCode, value);
            }
        }
        private string _StoreCode;
        [Size(SizeAttribute.Unlimited)]
        public string StoreCode
        {
            get
            {
                return _StoreCode;
            }
            set
            {
                SetPropertyValue("StoreCode", ref _StoreCode, value);
            }
        }
        private string _Remark;
        [Size(SizeAttribute.Unlimited)]
        public string Remark
        {
            get
            {
                return _Remark;
            }
            set
            {
                SetPropertyValue("Remark", ref _Remark, value);
            }
        }
        private string _OrderCode;
        [Size(SizeAttribute.Unlimited)]
        public string OrderCode
        {
            get
            {
                return _OrderCode;
            }
            set
            {
                SetPropertyValue("OrderCode", ref _OrderCode, value);
            }
        }
        private string _OrderItemId;
        [Size(SizeAttribute.Unlimited)]
        public string OrderItemId
        {
            get
            {
                return _OrderItemId;
            }
            set
            {
                SetPropertyValue("OrderItemId", ref _OrderItemId, value);
            }
        }
        private long _Quantity;
        public long Quantity
        {
            get
            {
                return _Quantity;
            }
            set
            {
                SetPropertyValue("Quantity", ref _Quantity, value);
            }
        }
        private DateTime _GmtCreate;
        public DateTime GmtCreate
        {
            get
            {
                return _GmtCreate;
            }
            set
            {
                SetPropertyValue("GmtCreate", ref _GmtCreate, value);
            }
        }
        private long _ResultQuantity;
        public long ResultQuantity
        {
            get
            {
                return _ResultQuantity;
            }
            set
            {
                SetPropertyValue("ResultQuantity", ref _ResultQuantity, value);
            }
        }
        private string _InventType;
        [Size(SizeAttribute.Unlimited)]
        public string InventType
        {
            get
            {
                return _InventType;
            }
            set
            {
                SetPropertyValue("InventType", ref _InventType, value);
            }
        }
        //end
    }
}
